package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Description: 视频规则
 * @time: 2020/8/22 11:28
 * @author: Rock
 */
@Data
@Document("video_model")
public class VideoModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    /**
     * 视频类型名字
     */
    private String name;

    /**
     * APP端分辨率 宽 * 高
     */
    @Field("display_resolution")
    private String displayResolution;
    /**
     * 设备端分辨率 宽 * 高
     */
    @Field("watch_display_resolution")
    private String watchDisplayResolution;

    /**
     * 单次通话时长/秒
     */
    @Field("one_call_time")
    private Integer oneCallTime;

    /**
     * 通话间隔/秒
     */
    @Field("call_interval")
    private Integer callInterval;

    /**
     * 总视频时长/秒
     */
    @Field("all_call_time")
    private Integer allCallTime;

    /**
     * 备注
     */
    @Field("des_note")
    private String desNote;

    /**
     * 引用的设备的个数
     */
    @Field("import_num")
    private Integer importNum;

    /**
     * 是否被绑定过
     */
    private Integer isBinding;

    private String creater;

    private Date createtime;

    private Date modifytime;


}
